﻿@{
    ViewBag.Title = "Detail";
    List<Taobao.Models.auctionsInshop> list = new List<Taobao.Models.auctionsInshop>();
    if (ViewBag.data != null)
    {
        list = (List<Taobao.Models.auctionsInshop>)ViewBag.data;
    }

}
<div class="searTitle">
    <span>商品名称：</span><input class="search_input" type="text" id="productName" placeholder="请输入商品名" /><input type="button" class="search" name="prosearch" value="店内搜索" id="prosearch" />
</div>
<div class="manager">
    
    <span>全选</span><input type="checkbox" class="check" name="checkedAll" id="checkedAll" /><input type="button" class="search" name="btnSave" value="收藏" id="btnSave" /><input type="button" class="search" name="btnScan" value="浏览" id="btnScan" />
</div>
<div id="main" class="main">

@if (list == null || list.Count == 0)
{
         <p>抱歉，目前没有匹配到该店铺的规则，请手动输入，或联系我们！</p>
}
@foreach (var item in list)
{
    <div class="pbox">
    <img src=@item.picUrl />
    <p>
    <span>@item.title</span>
    </p> 
    <span>价格：￥<em>@item.price</em></span><input name="check" type="checkbox" value=@item.url />
     
        
    </div>
}
</div>

@section scripts{
    <script src="~/Scripts/Home.js" type="text/javascript"></script>
}


